﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SelectProcedure.aspx.cs" Inherits="Honestysoft.Baseframework.WebUI.WorkFlow.WFDesigner.SelectProcedure" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>新增存储过程接口</title>
    <link href="../Styles/control.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    
    
    
   <table width="100%"  border="0" align="center" cellpadding="0" cellspacing="0" class="t1" >
          <thead>
          <th>
              新增存储过程接口
          </th></thead>
    </table>          
   <table align="center"  width="100%"  border="0" cellpadding="3" cellspacing="0" class="tEdit">

	    <tr>		
		    <td style="width:120px"  align='right'>
                存储过程名称:</td>
		    <td>
                <asp:textbox id="txtName" Runat="server" Width="98%"></asp:textbox>
                <br />(如：Proc_GetUser)
                </td>
	    </tr>    	
</table> 
<div class="infoContainer">说明：存储过程使用@BuID变量表示业务数据标识，实现存储过程时必须声明该输入参数！</div>

<div align="center">
    <asp:Button ID="btnOK" runat="server" class="btn_normal" onmouseover="this.className='btn_active'" onmouseout="this.className='btn_normal'" Text="确定" OnClientClick="if(checkForm()){GetReturn();}else{return false;}"  />            
    <input type="submit" class="btn_normal" onmouseover="this.className='btn_active'" onmouseout="this.className='btn_normal'" name="btnCancel" onclick="window.close();"    value="取 消" />
   </div>
    </form>
     <script language="javascript" type="text/javascript">
         function checkForm() {
             if (document.getElementById("<%=txtName.ClientID %>").value == "") {
                 alert('请输入存储过程名称！');
                 return false;
             }
             return true;
         }
         function GetReturn() {
             window.returnValue = document.getElementById("<%=txtName.ClientID %>").value;
             window.close();
         }
    </script>
</body>
</html>
